import * as NS from "../../../Common/NetServices";
import { IsNull } from "../../../TYLibrary/Common/GlobalExtend";
import { Wx_XSPPage } from "../../../Common/Entitys";
import { Log } from "../../../TYLibrary/System/Logger";
import { WXDataClassRuntimeDecorator, Wx_PageData } from "../../../Common/EntityBase";

@WXDataClassRuntimeDecorator()
class SignagePageData extends Wx_PageData {
    indicatorDots: boolean = false;
}

class SignagePage extends Wx_XSPPage {
    public Data: SignagePageData = new SignagePageData();

    /**
     * 初始化页面信息
     * @param {any} options
     * @returns {Promise<void>}
     * @memberof IndexPage
     */
    public async InitData(options: any): Promise<void> {}

    /**
     *
     * @param {*} e
     * @memberof SignagePage
     */
    public ImgHandler(e: any): void {
        let id = e.currentTarget.dataset.id;
        wx.navigateBack({ delta: 1 });
        wx.navigateTo({
            url: "UserInfo"
        });
    }
}

Page(new SignagePage());
